package com.xiaoma.h5testdemo

import android.app.Application
import android.util.Log
import com.xiaoma.common.utils.AppHolder
import com.xiaoma.h5testdemo.common.helper.WebViewCacheHolder
import com.xiaoma.lib.log.KLog

/**
 * author: liangjingbo
 * date: 2024/4/18
 * describe:
 */
class App : Application() {
    override fun onCreate() {
        super.onCreate()
        AppHolder.prepare(this)
        KLog.init(this, "")
        Log.i(TAG, "onCreate() ")
        WebViewCacheHolder.INSTANCE.init(this)
    }
    companion object {
        private val TAG = App::class.java.simpleName + "_XMTag"
    }
}